/**
 * 
 * @author Marina
 *
 */

package capture.analyzer;

import jpcap.packet.*;

public class TelnetAnalyzer extends AbstractPacketAnalyzer {
	
	public TelnetAnalyzer(){
		layer=APPLICATION_LAYER;
	}

	public boolean isAnalyzable(Packet p){
		if(p instanceof TCPPacket &&
				(((TCPPacket)p).src_port==23 || ((TCPPacket)p).dst_port==23))
			return true;
		else return false;
	}

	public String getProtocolName(){
		return "Telnet";
	}

	public String[] getValueNames(){
		return null;
	}

	public void analyze(Packet p){
		
	}

	public Object getValue(String s){ 
		return null; 
	}
	
	public Object getValueAt(int i){ 
		return null; 
	}
	
	public Object[] getValues(){ 
		return null; 
	}
}
